package com.tanqing.ddd.web.bean;

import java.io.Serializable;

public class PagedResult<E> extends Result<PageDto<E>> implements Serializable {
    public PagedResult() {
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof PagedResult)) {
            return false;
        } else {
            PagedResult<?> other = (PagedResult) o;
            return other.canEqual(this);
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof PagedResult;
    }

    public int hashCode() {
        return 1;
    }

    public String toString() {
        return "PagedResult()";
    }
}
